#ifndef WAYPOINT_H
#define WAYPOINT_H
#include<QPoint>
#include<QPainter>
class waypoint
{
public:
    waypoint(QPoint Pos);
    void set_next_point(waypoint *next_way_point);
    waypoint *next_waypoint() const;
    const QPoint pos() const;
    void draw(QPainter *painter);


private:
    QPoint _Pos;
    waypoint *_next_waypoint;

};

#endif // WAYPOINT_H
